package smartlifev30.com.sdk.bean.request;

import smartlifev30.com.sdk.net.baiwei.protocol.Body;

/**
 * Created by tys on 2018/8/15.
 */

public class MessageQueryRequest extends Body {
    private Message message;

    public Message getMessage() {
        return message;
    }

    public void setMessage(Message message) {
        this.message = message;
    }

    public class Message {

        /**
         * alarm_record/door_record/event_record
         */
        private String type;
        private int begin;
        private int count;
        /**
         * 如果为door_record,支持按设备ID查询记录
         */
        private int device_id;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public int getBegin() {
            return begin;
        }

        public void setBegin(int begin) {
            this.begin = begin;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getDevice_id() {
            return device_id;
        }

        public void setDevice_id(int device_id) {
            this.device_id = device_id;
        }
    }
}
